package com.irdstudio.efp.riskm.service.facade;

import java.util.List;

import com.irdstudio.basic.framework.core.base.DataOptionalAuthority;
import com.irdstudio.efp.riskm.service.vo.PspCheckTaskAppVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>Description:检查任务申请表				<p>
 * @author chenqm1
 * @date 2018-05-03
 */
public interface PspCheckTaskAppService extends DataOptionalAuthority {
	
	public List<PspCheckTaskAppVO> queryAllOwner(PspCheckTaskAppVO pspCheckTaskAppVo);
	
	public List<PspCheckTaskAppVO> queryAllCurrOrg(PspCheckTaskAppVO pspCheckTaskAppVo);
	
	public List<PspCheckTaskAppVO> queryAllCurrDownOrg(PspCheckTaskAppVO pspCheckTaskAppVo);
	
	public PspCheckTaskAppVO insertPspCheckTaskApp(PspCheckTaskAppVO vo);
	
	public int deleteByPk(PspCheckTaskAppVO pspCheckTaskAppVo);
	
	public int updateByPk(PspCheckTaskAppVO pspCheckTaskAppVo);
	
	public PspCheckTaskAppVO queryByPk(PspCheckTaskAppVO pspCheckTaskAppVo);

	public int submitByPk(PspCheckTaskAppVO inPspCheckTaskAppVo);

	public List<PspCheckTaskAppVO> queryAllListByCusId();
	
	//批量新增
	public int insertBatchPspCheckTaskApp(List<PspCheckTaskAppVO> list);

	public List<String> queryContNo();

	public int insertOrUpdateByPk(PspCheckTaskAppVO inPspCheckTaskAppVo);

	public List<PspCheckTaskAppVO> queryByTaskNo(String chkTaskNo);
	public List<PspCheckTaskAppVO> queryByConditions(String chkTaskNo,String cusId,String certCode);
}
